   
{%- if nav.setting_json != "" -%}
{%- capture style -%}
style="color:{{nav.setting_json.color}};font-style:{{nav.setting_json.style}};font-weight:{{nav.setting_json.bold}};text-decoration:{{nav.setting_json.decoration}};"
{%- endcapture -%}
{%- if nav.setting_json.model != 1 -%}
{%- capture rel -%}rel="external nofollow"{%- endcapture -%}
{%- endif -%}
{%- endif -%}
{% if nav.url_json.url and nav.url_json.url != "" %}
{%- capture target -%}target="{{nav.setting_json.open | default : '_self' }}"{%- endcapture -%}              
{% endif %}
<a {{style}} {{rel}} class="{{class}}" {{target}} href="{{nav.url_json.url | default:'javascript:void(0)' }}">{{nav.nav_item_name}}{% if svg == 1 %}<svg t="1636003081626" style="margin-top: -2px;" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2399" width="10" height="10"><path d="M65.582671 288.791335l446.417329 446.41733 446.417329-446.41733z" fill="{{nav.setting_json.color}}" p-id="2400"></path></svg>{% endif %}</a>